package com.code.juc.thread;

import lombok.extern.slf4j.Slf4j;

/**
 * @author lyf
 * @date 2021-09-05 下午8:04
 */
@Slf4j
public class MyThreadImplRunnable implements Runnable {

    private String msg;

    public MyThreadImplRunnable(String msg) {
        this.msg = msg;
    }

    @Override
    public void run() {
        log.info("msg:{}", msg);
    }
}
